package com.example.neteasecloudmusic.ui.dicovery;

import com.example.neteasecloudmusic.bean.discoveryBean.Bean;
import com.example.neteasecloudmusic.bean.discoveryBean.Blocks;

import java.util.List;

import io.reactivex.rxjava3.core.Flowable;

public interface DiscoveryContract {

    interface IDiscoveryPresenter {
        void getData();
    }

    interface IDiscoveryModel {
        Flowable<Bean> getData();
    }

    interface IDiscoveryView {
        void getBeanSuccess(List<Blocks> blocks);
        void getBeanFailure(Throwable throwable);
    }

}
